import service from '@/utils/Http.js'

/**
 * @method userLoginAPI 用户登录
 * @method getCodeAPI 获取验证码
 * @method getUserListAPI 获取用户清单 列表
 */
// 登录
export const userLoginAPI = (data) => service.post('/admin/auth/login', data)
export const getCodeAPI = () => service.get('/admin/auth/captcha')

// 用户
export const getUserListAPI = () => service.post('/admin/user/list')
